/*
*===============DdmgCloudPlatform3 V2.0===============
* DdmgCloudPlatform3 V2.0
* Copyright@大大买钢2018,All Rights Reserved
* Author: 陈军华(840226425@qq.com)
* Date: 2018/8/6  14:01
* TODO: 实名认证弹窗
*===============DdmgCloudPlatform3 V2.0===============
*/
<template>
  <el-dialog
    :visible.sync="realNameVisible"
    :close-on-click-modal="false"
    width="300px"
    top="35vh"
    center>
    <span class="dialog-title">您还未进行实名认证，是否去认证?</span>
    <span slot="footer">
      <el-button size="small" @click="realNameVisible = false">跳 过</el-button>
      <el-button size="small"  type="primary" @click="goRealName">实名认证</el-button>
    </span>
  </el-dialog>
</template>

<script>
export default {
  name: "RealNameDialog",
  data() {
    return {
      realNameVisible: false,
    };
  },
  methods: {
    openDialog() {
      this.realNameVisible = true;
    },
    goRealName() {
      this.$router.push({ path: "/realName" });
    },
  },
};
</script>
